Coding and Decoding of Polar Codes Extended to Lengths which are not Powers of Two

ABSTRACT

An encoding apparatus includes a processor a non-transitory computer-readable storage medium storing a program for encoding data x of dimension k into a codeword c of length n. The program includes instructions to encode the data x using a C(n, k, d) code. The code C(n,k,d) has a length n and a minimum distance d, n=2 m     1   + . . . +2 m     s   , m h , h=1, . . . , s, is an integer, on the basis of c=uA, where u i =x j     i   , 0≤j i &lt;k−1, if i∉F, F is a set of n−k frozen bit indices of the code C(n,k,d), and u i =Σ s=0   i−1     ϕ     i     ,s u s , if i∈F,  is a constraint matrix given by a solution of      T =0, ϕ i  is an index of a row of the matrix  , having a last non-zero element in column i, and   is a precoding matrix and A is a matrix defined by 
     
       
         
           
             
               
                 A 
                 
                   m 
                   h 
                 
               
               = 
               
                 
                   ( 
                   
                     
                       
                         1 
                       
                       
                         0 
                       
                     
                     
                       
                         1 
                       
                       
                         1 
                       
                     
                   
                   ) 
                 
                 
                   ⊗ 
                   
                     m 
                     h 
                   
                 
               
             
             , 
           
         
       
     
     and Q ⊗m  denotes the m-times Kronecker product of a matrix Q with itself.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/RU2016/000539, filed on Aug. 12, 2016, the disclosure of which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

In general, the present application relates to data encoding and decoding in communication systems. In particular, the present application relates to apparatuses and methods for encoding data and decoding data using codes based on polar codes or subcodes.

BACKGROUND

Reliable transmission of data over noisy communication channels usually requires some kind of error correction coding to be used. Polar codes were shown to achieve the Shannon capacity of many channels see E. Arikan, “Channel Polarization: A Method for Constructing Capacity-Achieving Codes for Symmetric Binary-Input Memoryless Channels,” IEEE Trans. on Inf. Theory, vol. 55, no. 7, pp. 3051-3073, July 2009). However, the performance of polar codes with practical parameters is often unsatisfactory.

Polar subcodes (see P. Trifonov and V. Miloslayskaya, “Polar subcodes”, IEEE Journal on Selected Areas in Communications, 34(2):254-266, February 2016) were shown to have higher minimum distance than classical polar codes, and provide substantially better performance under list, sequential and block sequential decoding (see I. Tal and A. Vardy, “List decoding of polar codes,” in Proc. IEEE Int. Symp. Inf. Theory, July 2011, pp. 1-5 and V. Miloslayskaya and P. Trifonov, “Sequential decoding of polar codes,” IEEE Commun. Lett., vol. 18, no. 7, pp. 1127-1130, July 2014). However, the performance of polar subcodes can still be improved.

In general, a (n=2^(m), k) polar subcode C over GF (2) can be defined as a set of vectors c=xW A_(m), wherein W represents a k×n precoding matrix,

$A_{m} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m}$

represent a polarizing transformation, and Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself. Classical polar codes can be obtained by taking the matrix W, such that each column of W has weight at most 1, and each row has weight 1. Polar subcodes can be obtained by taking W such that the vectors c are also codewords of some parent code which has sufficiently high minimum distance, i.e. H^(T)=0, wherein H is a check matrix of the parent code. For example, it is shown that extended Bose-Chaudhuri-Hocquenghem (BCH) can be good parent codes.

Another equivalent way to define a polar subcode is to consider it as a set of vectors c=uA, wherein uV^(T)=0, and wherein V is a (n−k)×n constraint matrix, such that WV^(T)=0. By means of a Gaussian elimination, the matrix V can be constructed in such a way that at most one row ends in each column. Afterwards, the following set of constraints on the input symbols u, of the polarizing transformation A_(m) can be obtained:

u _(j) _(i) =Σ_(s<j) _(i) _(:V) _(is) ₌₁ ,u _(s),0≤i<n−k,

wherein j_(i) is the position of the last non-zero entry in the i-th row of V. The symbols j_(i) are also denoted dynamic frozen symbols. These dynamic frozen symbols can be considered as a generalization of the concept of (static) frozen symbol used in the construction of classical polar codes. A standard way to construct a polar subcode is to construct a matrix V=HA^(T), where H is a check matrix of a parent code, and then introduce additional constraints u_(j) _(i) =0 (static freezing constraints) for symbols with the highest error probability P_(j) _(i) , wherein P_(i) denotes the bit error probability in the synthetic bit subchannel induced by the polarizing transformation A_(m), wherein a transition probability function can be described as follows:

${{W_{m}^{(i)}\left( {y_{0}^{n - 1},{u_{0}^{i - 1}u_{i}}} \right)} = {\frac{1}{2^{n - 1}}{\sum\limits_{u_{i + 1}^{n - 1}}\; {\prod\limits_{j = 0}^{n - 1}\; {W\left( {y_{j}\left( {u_{0}^{n - 1}A_{m}} \right)_{j}} \right)}}}}},$

wherein W(y|c) is the transition probability function of the underlying binary input memoryless output-symmetric channel, and a_(i) ^(j)=(a_(i), . . . , a_(j)).

Another approach to describe polar subcodes is to define a set F of frozen bit indices j_(i), such that u_(j) _(i) is either fixed or depends on prior symbols, and to consider a generator matrix G of a parent code. Afterwards, a matrix W=GA_(m) ⁻¹ can be computed and a Gaussian elimination can be applied to this matrix, in order to ensure that distinct rows start (i.e. have the first non-zero entry) in different columns, and then the rows with the highest P_(s) _(i) , wherein s_(i) is the position at which the i-th row starts, can be eliminated from the obtained matrix.

All the above described approaches provide codes of length 2^(m). However, for practical applications, the construction of codes having any code length is desirable.

In order to obtain codes having a length different from 2^(m), several techniques can be applied, for example the so-called shortening and puncturing techniques. According to the shortening technique, given a C(N, K, D) linear block code, a

(n=N−v,k=K−v,d≥D)

shortened code can be obtained from the code C as a set of vectors (c_(i) ₁ , . . . , c_(i) _(n) ):(c₁, . . . , c_(N))∈C, c_(j) _(t) =0, j_(t) ∈S, 1≤t≤v, i_(s) ∉S, 1≤s≤n, wherein S denotes a set of shortened symbols. According to the puncturing technique, given a (N, K, D) linear block code C, a (n=N−v, k≤K, d≥D−v) punctured code can be obtained from the code C as a set of vectors (c_(i) ₁ , . . . , c_(i) _(n) ):(c₁, . . . , c_(N))∈C, i_(t) ∉P, 1≤t≤n, wherein P denotes a set of punctured symbols. In general, the sets of punctured symbols P and the set of shortened symbols S need to be optimized in order to obtain a satisfying performance of the code and the choice of the sets P and S affects the optimal choice of the set F. Since the sets F, P and S have to be jointly optimized, the construction of the code becomes extremely complex. Moreover, heavily shortened or punctured codes do not have a satisfying performance.

Another way to obtain codes of different lengths is to use concatenation techniques. An example of such techniques is given by the so-called X₄ construction described in the work by N. J. A. Sloane et al., “New binary codes,” IEEE Trans. On Inform. Theory, vol. IT-18, pp. 503-510, July 1972. This construction is based on linear codes C₀ (n₀, k₀, d₀), C₁ (n₀, k₁, d₁), C₂ (n₂, k₂, d₂), C₃ (n₂, k₃, d₃), such that C₀ ⊂C₁, C₂ ⊂C₃, k₁−k₀=k₃−k₂, and it is assumed that C₁ has a generator matrix G_(i), wherein

${G_{1} = \begin{pmatrix} G_{0} \\ G^{\prime} \end{pmatrix}},{G_{3} = {\begin{pmatrix} G_{2} \\ G^{''} \end{pmatrix}.}}$

In such a way, an (n₀+n₂, k₀+k₃, min(d₀, d₂, d₁+d₃)) code having a generator matrix G given by the following equation:

$G = \begin{pmatrix} G_{0} & 0 \\ 0 & G_{2} \\ G^{\prime} & G^{''} \end{pmatrix}$

can be obtained. Another example of a concatenation technique is given by the so-called XX construction described in the work by W. Alltop, “A Method for Extending Binary Linear Codes”, IEEE Transactions on Information Theory, 30 (6), November 1984, which is based on C_(i)(n_(i), k_(i), d_(i)), i=1, . . . , 6, codes, wherein

${C_{1} = {C_{2} + C_{3}}},{C_{4} = {C_{2}\bigcap C_{3}}},{{i.e.\mspace{14mu} G_{2}} = \begin{pmatrix} G^{\prime} \\ G_{4} \end{pmatrix}},{G_{3} = \begin{pmatrix} G^{''} \\ G_{4} \end{pmatrix}},{G_{1} = \begin{pmatrix} G^{\prime} \\ G^{''} \\ G_{4} \end{pmatrix}},{k_{5} = {k_{2} - k_{4}}},{k_{6} = {k_{3} - {k_{4}.}}}$

By means of these codes, an (n₁+n₅+n₆, k₁, min(d₄, d₂+d₅, d₃+d₆, d₁+d₅+d₆)) code having a generator matrix G given by the following equation:

$G = \begin{pmatrix} G^{\prime} & G_{5} & 0 \\ G^{''} & 0 & G_{6} \\ G_{4} & 0 & 0 \end{pmatrix}$

can be obtained. However, the performance of the codes obtained by means of concatenation techniques still can significantly be improved.

Thus, there is a need for improved apparatuses and methods for encoding data and decoding data using codes based on polar codes or subcodes.

SUMMARY

It is an object of the application to provide improved apparatuses and methods for encoding data and decoding data using codes based on polar codes or subcodes as well as to specify these codes in an efficient way.

The foregoing and other objects are achieved by the subject matter of the independent claims. Further implementation forms are apparent from the dependent claims, the description and the figures.

According to a first aspect the application relates to an encoding apparatus for encoding data x of dimension k into a codeword c of length n. The encoding apparatus comprises a processor configured to encode the data x using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, on the basis of the equation:

c=uA,

wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, if i∉F, wherein F is a set of n k frozen bit indices of the code C(n, k, d), and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i∈F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

In a first possible implementation form of the encoding apparatus according to the first aspect as such, the processor is further configured to construct the code C(n, k, d) on the basis of a plurality of nested linear block codes C_(ij)(2^(m) ^(i) ,K_(i,j), d_(ij)), K_(i,j+1)>K_(i,j), 0≤j<τ_(i), wherein τ_(i) is a positive integer, wherein a generator matrix of C_(ij)(2^(m) ^(i) , K_(i,j), d_(ij)) is given by the equation:

${G^{({i,j})} = \begin{pmatrix} G^{({i,0})} \\ G^{({i,1})} \\ \vdots \\ G^{({i,j})} \end{pmatrix}},$

wherein G^((i,j)) is a k_(i,j)×2^(m) ^(i) matrix, K_(i,j)=Σ_(s=0) ^(j)k_(i,s), wherein a precoding matrix of G^((i,j)) is defined by

${W^{({i,j})} = {G^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes i}},$

wherein a precoding matrix of {tilde over (G)}^((i,g)) is defined by

${{\overset{\sim}{W}}^{({i,j})} = {{\overset{\sim}{G}}^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes i}},$

wherein an index l_(i,p) of a column, where a p-th row of the matrix {tilde over (W)}^((i,τ) ^(i) ⁻¹⁾ starts, is defined by the equation

${l_{i,p} = {\min \; \underset{\mspace{14mu} {{\overset{\sim}{W}}_{p,t}^{({i,{\tau_{i} - 1}})} = 1}}{\mspace{14mu} {0 \leq t < 2^{i}}}\mspace{14mu} t}},{0 \leq p < 2^{m_{i}}},$

and to construct the precoding matrix

as a block matrix, wherein the blocks of the precoding matrix

consist of selected rows of the matrices {tilde over (W)}^((i,j)).

In a second possible implementation form of the encoding apparatus according to the first implementation form of the first aspect, the plurality of nested linear block codes C_(ij)(2^(m) ^(i) , K_(i,j), d_(ij)) are extended Bose-Chaudhuri-Hocquenghem (e-BCH) codes.

In a third possible implementation form of the encoding apparatus according to the first aspect as such or any one of the first to second implementation form thereof, the processor is further configured to construct a precoding matrix

of the code C(n, k, d) as follows:

${\overset{\sim}{} = \begin{pmatrix} {\overset{\sim}{W}}^{({1,r_{1}})} & 0 & 0 & \ldots & 0 \\ 0 & {\overset{\sim}{W}}^{({2,r_{2}})} & 0 & \ldots & 0 \\ 0 & 0 & W^{({3,r_{3}})} & \ldots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \ldots & {\overset{\sim}{W}}^{({s,r_{s}})} \\ W^{({1,{r_{1} + 1}})} & {\hat{W}}^{({2,1})} & {\hat{W}}^{({3,1})} & \ldots & {\hat{W}}^{({s,1})} \\ 0 & W^{({2,{r_{2} + 1}})} & {\hat{W}}^{({3,2})} & \ldots & {\hat{W}}^{({s,2})} \\ \vdots & \vdots & \vdots & \ddots & \vdots \end{pmatrix}},$

wherein r_(i)=max_(j:d) _(ij) _(≥d) j is an index of a largest e-BCH code of length 2^(m) ^(i) having a minimum distance of at least d and wherein Ŵ^((i,j)) is a matrix defined on the basis of the matrix {tilde over (W)}.

In a fourth possible implementation form of the encoding apparatus according to any one of the first to third implementation form of the first aspect, the processor is further configured to construct the matrix Ŵ^((i,j)) by means of rows of the matrix {tilde over (W)}^((i,τ) ^(j) ⁾ having the smallest value of P_(m) _(i) _(,I) _(i,p) , wherein P_(m,i) is an error probability in a bit subchannel W_(m) ^((i))(y₀ ² ^(m) ⁻¹,u₀ ^(i−1)|u_(i)), wherein y₀ ² ^(m) ⁻¹=y₀ . . . y₂ _(m) ⁻¹ denotes 2^(m)−1 noisy symbols of the codeword c after a transmission over a communication channel.

In a fifth possible implementation form of the encoding apparatus according to the first aspect as such or any one of the first to fourth implementation form thereof, the processor is further configured to construct a first plurality of t rows of the matrix

in such a way that the last non-zero elements in the first plurality of t rows are located in distinct positions j, j≥j₀ for some integer j₀, wherein the number of non-zero bits in the binary expansion of the integer j is set equal to w₀, to construct elements of the first plurality oft rows located in columns having an index z<j by means of a pseudorandom number generator, and to construct a second plurality of n−k−t rows of matrix

as distinct weight-one rows.

In a sixth possible implementation form of the encoding apparatus according to the fifth implementation form of the first aspect, the pseudorandom number generator is a linear feedback shift register.

In a seventh possible implementation form of the encoding apparatus according to any one of the first to sixth implementation form of the first aspect, the processor is further configured to arrange the rows of the matrix W^((i,r) ^(i) ⁺¹⁾ or Ŵ^((j,i)) in an ascending order of the values l_(i,p) and l_(j,p) respectively.

In an eighth possible implementation form of the encoding apparatus according to any one of the first to seventh implementation form of the first aspect, the processor is configured to construct the matrix

based on k rows of the matrix

with the smallest values of l_(i,p).

According to a second aspect the application relates to a method for encoding data x of dimension k into a codeword c of length n. The method comprises the step of encoding the data x using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, on the basis of the equation:

c=uA,

wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d), and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i∈F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

The method according to the second aspect of the application can be performed by the encoding apparatus according to the first aspect of the application. Further features of the method according to the second aspect of the application result directly from the functionality of the encoding apparatus according to the first aspect of the application and its different implementation forms.

According to a third aspect the application relates to a decoding apparatus for decoding a codeword c of length n. The decoding apparatus comprises a processor configured to decode the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . ,s, is an integer number, wherein:

c=uA,

wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, wherein x is data of dimension k, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d) and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i∈ F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

In a first possible implementation form of the decoding apparatus according to the third aspect as such, the processor is further configured to decode the codeword c by means of a generalization of a successive cancellation algorithm.

In a second possible implementation form of the decoding apparatus according to the first implementation form of the third aspect, the processor is further configured to compute u by means of the following equations:

û _(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s) u _(s), if i∈F

and

û _(i) =arg max_(u) _(i) W _(μ) _(i) ^((i mod 2) ^(μ) ^(i))(y _(t) _(i) ² ^(μ) ^(i+t) ^(i) ⁻¹ ,û _(t) _(i) ^(i−1) |u _(i)), if i∉F

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein y₀ ^(n-1)=y₀ . . . y_(n-1) denotes n noisy symbols of the codeword c after a transmission over a communication channel to the decoding apparatus, μ_(i)=└log₂(2^(┌log) ² ^(n┐)−i)┘, and t_(i)=2^(┌log) ² ^(n┐)−2 ^(μ) ^(i) ⁺¹.

In a third possible implementation form of the decoding apparatus according to the second implementation form of the third aspect, the processor is further configured to compute û_(i) ₁ before û_(i) ₂ , if μ_(i) ₁ =μ_(i) ₂ and i₁<i₂, and to compute û_(s):

_(ϕ) _(i) _(,s)≠0, s<i, before û_(i), if i∈F.

According to a fourth aspect, the application relates to a method for decoding a codeword c of length n, wherein the method comprises the step of decoding the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ ++2 ^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, wherein:

c=uA,

wherein u_(i)=x_(j), 0≤j<k−1, wherein x is data of dimension k, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d) and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s), if i∈F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

The method according to the fourth aspect of the application can be performed by the decoding apparatus according to the third aspect of the application. Further features of the method according to the fourth aspect of the application result directly from the functionality of the decoding apparatus according to the third aspect of the application and its different implementation forms.

According to a fifth aspect, the application relates to a computer program comprising a program code for performing the method according to the second aspect of the application and the method according to the fourth aspect of the application when executed on a computer.

The application can be implemented in hardware and/or software.

BRIEF DESCRIPTION OF THE DRAWINGS

Further embodiments of the application will be described with respect to the following figures, wherein:

FIG. 1 shows a schematic diagram illustrating a communication system comprising an encoding apparatus according to an embodiment and a decoding apparatus according to an embodiment;

FIG. 1a shows four exemplary generator matrices of extended BHC codes used to construct a code according to an embodiment;

FIG. 1b shows three exemplary generator matrices of extended BHC codes used to construct a code according to an embodiment;

FIG. 1c shows four exemplary precoding matrices of generator matrices of extended BHC codes used to construct a code according to an embodiment;

FIG. 1d shows three exemplary precoding matrices of generator matrices of extended BHC codes used to construct a code according to an embodiment;

FIG. 1e shows an exemplary precoding matrix of a parent code according to an embodiment;

FIG. 1f shows an exemplary precoding matrix of a code according to an embodiment;

FIG. 1g shows an exemplary constraint matrix of a code according to an embodiment;

FIG. 2 shows a schematic diagram of a structure of an encoding apparatus for a code based on chained polar subcode according to an embodiment;

FIG. 3 shows frame error rates (FER) of different codes as a function of a signal-to-noise ratio (E_(b)/N₀) in dB according to an embodiment;

FIG. 4 shows frame error rates (FER) of different codes as a function of a signal-to-noise ratio (E_(b)/N₀) in dB according to an embodiment;

FIG. 5 shows a schematic diagram of a method for encoding data x of dimension k into a codeword c of length n according to an embodiment; and

FIG. 6 shows a schematic diagram of a method for decoding a codeword c of length n according to an embodiment.

In the figures, identical reference signs will be used for identical or functionally equivalent features.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

In the following description, reference is made to the accompanying drawings, which form part of the disclosure, and in which are shown, by way of illustration, specific aspects in which the present application may be placed. It will be appreciated that the application may be placed in other aspects and that structural or logical changes may be made without departing from the scope of the application. The following detailed description, therefore, is not to be taken in a limiting sense, as the scope of the application is defined by the appended claims.

For instance, it will be appreciated that a disclosure in connection with a described method will generally also hold true for a corresponding device or system configured to perform the method and vice versa. For example, if a specific method step is described, a corresponding device may include a unit to perform the described method step, even if such unit is not explicitly described or illustrated in the figures.

Moreover, in the following detailed description as well as in the claims, embodiments with functional blocks or processing units are described, which are connected with each other or exchange signals. It will be appreciated that the application also covers embodiments which include additional functional blocks or processing units that are arranged between the functional blocks or processing units of the embodiments described below.

Finally, it is understood that the features of the various exemplary aspects described herein may be combined with each other, unless specifically noted otherwise.

FIG. 1 shows a schematic diagram illustrating a communication system 100 comprising an encoding apparatus 102 and a decoding apparatus 104, which can communicate via a communication channel 110.

The encoding apparatus 102 comprises a processor iota and is configured to encode data. Likewise, the decoding apparatus 104 comprises a processor 104 a and is configured to decode data, in particular data encoded by the encoding apparatus 102. The encoding apparatus 102 and/or the decoding apparatus 104 can be implemented as part of a communication device, such as a mobile phone or a base station of a cellular communication network.

In an embodiment, the processor iota is configured to encode data x of dimension k into a codeword c of length n using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h)>m_(h+1), h=1, . . . , s, is an integer number, on the basis of the equation:

c=uA,

wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, if i ∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d), and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i ∈F, wherein V is a constraint matrix. The constraint matrix V is given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

In an embodiment, similarly to the processor iota, the processor 104 a of the decoding apparatus 104 is configured to decode the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h)>m_(h+1) h=1, . . . , s, is an integer number, wherein:

c=uA,

wherein u_(i)=x_(j), 0≤j<k−1, wherein x is data of dimension k, if i ∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d) and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i ∈F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

The communication channel 110 can be a wired or a wireless communication channel.

In an embodiment, the processor iota can be configured to generate the constraint matrix

on the basis of the following steps.

1^(st) step: construct generator matrices

${\overset{\sim}{G}}^{({i,j})} = \begin{pmatrix} G^{({i,0})} \\ G^{({i,1})} \\ \vdots \\ G^{({i,j})} \end{pmatrix}$

of nested extended primitive narrow-sense BCH codes C_(ij)(2^(m) ^(i) , K_(i,j), d_(ij)), 0≤j<τ_(i), wherein G^((i,j)) is a k_(i,j)−2^(m) ^(i) matrix, K_(i,j)=Σ_(s=0) ^(j)k_(i,s), and define the corresponding precoding matrices of G^((i,j)) as:

${{\overset{\sim}{W}}^{({i,j})} = {{{{\overset{\sim}{G}}^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes m_{i}}\mspace{14mu} {and}\mspace{14mu} W^{({i,j})}} = {G^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes i}}},$

wherein an index of a column where the p^(th) row of the matrix {tilde over (W)}^((i,τ) ^(i) ⁻¹⁾ starts is defined by:

${l_{i,p} = {\min \mspace{14mu} \underset{{\overset{\sim}{W}}_{p,t}^{({i,{\tau_{i} - 1}})} = 1}{0 \leq t < 2^{i}}\mspace{25mu} t}},{0 \leq p < {2^{m_{i}}.}}$

In an embodiment, it can be assumed that for any i all l_(i,p) are distinct and, in general, the integer number τ_(i) is equal to the number of irreducible polynomials of degree M, wherein M represents the number of divisors of m_(i).

2^(nd) step: apply elementary row operations to {tilde over (W)}^((i,j)) in order to ensure that all rows start in distinct columns, while preserving the nested structure of the matrices {tilde over (W)}^((i,j)).

3^(rd) step: select rows of matrices {tilde over (W)}^((i,j)):d_(i,j)≥d, and put them into the i-th column of a precoding matrix

, wherein the precoding matrix

is a block matrix.

4^(th) step: select rows of matrices {tilde over (W)}^((i,j)):d>d_(i,j)≥d−∈ for some ∈>0, put them into the i-th column of the precoding matrix

. For every such a row, select a row of a matrix {tilde over (W)}^((i′,j′)),i′>i,d_(i′,j′)≥∈, which has not been selected in the previous step, and put it into the same row of matrix

in column i′. Summarizing, the constructed precoding matrix

is given by:

${\overset{\sim}{} = \begin{pmatrix} {\overset{\sim}{W}}^{({1,r_{1}})} & 0 & 0 & \ldots & 0 \\ 0 & {\overset{\sim}{W}}^{({2,r_{2}})} & 0 & \ldots & 0 \\ 0 & 0 & {\overset{\sim}{W}}^{({3,r_{3}})} & \ldots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \ldots & {\overset{\sim}{W}}^{({s,r_{s}})} \\ W^{({1,{r_{1} + 1}})} & {\hat{W}}^{({2,1})} & {\hat{W}}^{({3,1})} & \ldots & {\hat{W}}^{({s,1})} \\ 0 & W^{({2,{r_{2} + 1}})} & {\hat{W}}^{({3,2})} & \ldots & {\hat{W}}^{({s,2})} \\ \vdots & \vdots & \vdots & \ddots & \vdots \end{pmatrix}},$

wherein r_(i)=max_(j:d) _(ij) _(≥d)j is an index of a largest e-BCH code of length 2^(m) ^(i) with minimum distance d and δ_(i)=d−d_(i,r) _(i) ₊₁ is the minimum distance difference of the next largest e-BCH code. The matrices Ŵ^((i,j)) consist of some rows of matrix {tilde over (W)}^((i,τ) ^(j) ⁾ and zero rows, wherein τ_(j)=max_(s:d) _(i,s) _(≥δ) _(j) s, so that for any s there is at most one block i with non-zero row Ŵ_(s,) _(_) ^((i,j)).

5^(th) step: keep k rows of matrix

which start in column l_(i,p) of block i with the smallest where P_(m) _(i) _(,l) _(i,p) , is the error probability in a bit subchannel W_(m) ^((i))(y₀ ² ^(m) ⁻¹,u₀ ^(i−1)|u_(i)). wherein y₀ ² ^(m) ⁻¹=y₀ . . . y₂ _(m) ⁻¹ denotes 2^(m)−1 noisy symbols of the codeword c after a transmission over the communication channel 110. Let

be the obtained matrix.

6^(th) step: obtain

:

^(T)=0, use Gaussian elimination to ensure that rows of

end in distinct columns j_(i), 0≤i<n−k and define the set of (dynamic) frozen bit indices as F={j_(i), 0≤i<n−k}.

In order to illustrate the above described steps to generate the constraint matrix V, the construction of an exemplary (24,11,6) code on the basis of chained polar subcodes is considered. In this case, the code has dimension n=24, which can also be written as 24=2⁴+2³, so that m₀=4, m₁=3. In FIGS. 1a and 1b , the nested generator matrices G^((i,j)), i=0,1 and j=1,2,3, of the corresponding extended BCH codes C_(ij) are shown, wherein d_(0,0)=16, d_(0,1)=8, d_(0,2)=6, d_(0,3)=4, d_(1,0)=8, d_(1,1)=4, d_(1,2)=2. By multiplying the matrices G^((i,j)) shown in FIGS. 1a and 1b by the matrices

${A_{m_{i}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{i}}},$

and by applying elementary row operations, the corresponding precoding matrices W^((i,j)) can be obtained, as shown in FIGS. 1c and 1d . Combining the precoding matrices W^((i,j)) with ∈=2, the precoding matrix

of the parent code can be obtained as shown in FIG. 1e . In the case of a binary erasure channel having erasure probability 0.5, the error probabilities in bit subchannels are for instance: 0.499,0.496,0.492,0.386,0.48,0.32,0.26,0.5e−1,0.44,0.23,0.17,0.18e−1,0.11, 0.38e−2, 0.76e−5; 0.498, 0.44, 0.40, 0.15, 0.34, 0.09, 0.06, 0.0019.

Since the 6^(th) row of the matrix

starts in column 3, which corresponds to a subchannel with the highest error probability 0.386, it can be eliminated. Therefore, a precoding matrix

for the (24,11,6) code based on chained polar subcodes can be obtained as shown in figure if. Finally, the corresponding constraint matrix

can be obtained as shown in FIG. 1 g.

In another embodiment the processor 102 a can be configured to construct the (n−k)×n matrix

, according to the following steps:

1^(st) step: set the rows of V to distinct vectors of weight 1, containing 1 in columns l_(i,p) of block i with the highest P_(m) _(i) _(,l) _(i,p) ; and

2^(nd) step: put arbitrary binary values into columns j<l_(i,p) of at most two blocks i, for each of the last ρ rows of

.

In an embodiment, the binary values can be obtained by a pseudo-random number generator (PRNG), such as a linear feedback shift register. This has the advantage that the code can be specified in a compact way by providing just the parameters and seed value of the PRNG. Furthermore, the matrix

constructed according to the above mentioned steps has the advantage of providing chained polar subcodes which have a high performance.

Once the matrices

and

are available, in another embodiment, the processor 102 a can further be configured to encode the data x of dimension k into the codeword c according to the following equation:

${c = {xA}},{A = {\begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}.}}$

Furthermore, once the codeword c is encoded, it can be sent to the decoding apparatus 104 via the communication channel 110. However, after the transmission over the communication channel 110, the n symbols of the codeword c are affected by noise and they result in noisy symbols y₀ ^(n-1)=y₀ . . . y_(n-1), therefore a method is needed in order to recover the correct symbols of the codeword c.

In an embodiment, the processor 104 a of the decoding apparatus 104 can be configured to recover the codeword c using a generalized successive cancellation algorithm and its list or sequential extensions on the basis of the following equations:

û _(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s) û _(s) ,i∈F and û _(i) =arg max_(u) _(i) W _(μ) _(i) ^((i mod 2) ^(μ) ^(i))(y _(t) _(i) ² ^(μ) ^(i+t) ^(i) ⁻¹ ,û _(t) _(i) ^(i−1) |u _(i)),i∉F

wherein μ_(i)=└log₂(2^(┌) ² ^(n┐)−i)┘ and t_(i)=2^(┌log) ² ^(n┐)−2^(μ) ^(i) ⁺¹.

This decoding method can also be extended to obtain list and sequential successive cancellation methods similar to the ones presented in the aforementioned works by Tal and Vardy and Miloslayskaya and Trifonov.

In an embodiment the order to obtain the symbol 11, can be rearranged on the basis of the following rules:

-   -   a. If μ_(i) ₁ =μ_(i) ₂ and i₁<i₂, then û_(i) ₁ is calculated         before û_(i) ₂ ; and     -   b. If i∈F, then û_(s):         _(ϕ) _(i) _(,s)≠0, s<i, is calculated before û_(i).

Rearranging the detection order of symbols û_(i) has the advantage that it can lead to an improved performance of list and sequential successive cancellation algorithms.

FIG. 2 shows a schematic diagram of a structure of an encoding apparatus 102 for a code based on chained polar subcode according to an embodiment. In this embodiment, the code has a length n=12=2³+2² and it includes two polarizing transformations: A_(m) ₁ , m₁=3, (polarizing transformation 1) of size 8 and A_(m) ₂ , m₂=2, (polarizing transformation 2) of size 4. The data x of dimension 4 to be encoded is represented by the four symbols x₀, x₁, x₂, x₃, which are mapped onto symbols u₃, u₅, u₇, u₉. The set of frozen bit symbols is represented by u₀, u₁, u₂, u₄, u₆, u₈, u₁₀, u₁₁. In an embodiment, the processor iota of the encoding apparatus 102 can be configured to calculate symbols u₆ and u₁₀ as a function of some linear combinations of other input symbols of the corresponding polarizing transformations as shown in FIG. 2. Furthermore, the processor iota can be configured to calculate the input symbol u₁₁ of the polarizing transformation 2 as a function of an input symbol of the polarizing transformation 1. Moreover, the structure of the freezing and cross-coding constraints can be realized in such a way that the obtained code has sufficiently high minimum distance and it can be decoded in an efficient way by a possible generalization or modification of the successive cancellation algorithm.

FIG. 3 shows a frame error rate (FER) of different codes as a function of a signal-to-noise ratio (E_(b)/N₀) in dB according to an embodiment. As it is shown in FIG. 3, the performance of codes based on chained polar subcodes under a sequential decoding algorithm can significantly be improved compared to the performance of shortened polar subcodes, turbo codes and convolutional LTE tailbiting codes. In particular, codes based on chained polar subcodes can provide up to 0.3-0.7 dB power gain compared to shortened polar subcodes.

FIG. 4 shows a frame error rate (FER) of different codes as a function of a signal-to-noise ratio (E_(b)/N₀) in dB according to an embodiment. Analogously to FIG. 3, in this case as well, the performance of codes based on chained polar subcodes is significantly improved compared to the performance of shortened polar subcodes and turbo codes.

FIG. 5 shows a schematic diagram of a method 500 for encoding data x of dimension k into a codeword c of length n according to an embodiment. The method 500 comprises the step of encoding 502 the data x using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . ,s, is an integer number, on the basis of the equation:

c=uA,

wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, if i ∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d), and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i ∈F, wherein V is a constraint matrix given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

FIG. 6 shows a schematic diagram of a method 600 for decoding a codeword c of length n according to an embodiment. The method 600 comprises the step of decoding 602 the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, wherein:

c=uA,

wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, wherein x is data of dimension k, if i ∉F, wherein F is a set of n k frozen bit indices of the code C(n, k, d) and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i ∈F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0,

wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as follows:

${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$

wherein

${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$

and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.

While a particular feature or aspect of the disclosure may have been disclosed with respect to only one of several implementations or embodiments, such feature or aspect may be combined with one or more other features or aspects of the other implementations or embodiments as may be desired and advantageous for any given or particular application. Furthermore, to the extent that the terms “include”, “have”, “with”, or other variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term “comprise”. Also, the terms “exemplary”, “for example” and “e.g.” are merely meant as an example, rather than the best or optimal. The terms “coupled” and “connected”, along with derivatives may have been used. It should be understood that these terms may have been used to indicate that two elements cooperate or interact with each other regardless whether they are in direct physical or electrical contact, or they are not in direct contact with each other.

Although specific aspects have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that a variety of alternate and/or equivalent implementations may be substituted for the specific aspects shown and described without departing from the scope of the present disclosure. This application is intended to cover any adaptations or variations of the specific aspects discussed herein.

Although the elements in the following claims are recited in a particular sequence with corresponding labeling, unless the claim recitations otherwise imply a particular sequence for implementing some or all of those elements, those elements are not necessarily intended to be limited to being implemented in that particular sequence.

Many alternatives, modifications, and variations will be apparent to those skilled in the aft in light of the above teachings. Of course, those skilled in the art will readily recognize that there are numerous applications of the application beyond those described herein. While the present application has been described with reference to one or more particular embodiments, those skilled in the art will recognize that many changes may be made thereto without departing from the scope of the present application. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application may be practiced otherwise than as specifically described herein. 

What is claimed is:
 1. An encoding apparatus, comprising: a processor; and a non-transitory computer-readable storage medium storing a program for encoding data x of dimension k into a codeword c of length n, the program to be executed by the processor, the program including instructions to: encode the data x using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ ++2^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, on the basis of the equation: wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d), and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i∈F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0, wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as: ${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$ and wherein ${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$ and wherein Q^(⊗n) denotes the m-times Kronecker product of a matrix Q with itself.
 2. The encoding apparatus of claim 1, wherein the program further includes instructions to: construct the code C(n, k, d) according to a plurality of nested linear block codes C_(ij)(2^(m) ^(i) , K_(i,j), d_(ij)),K_(i,j+1)>K_(i,j),0≤j<τ_(i), wherein τ_(i) is a positive integer, wherein a generator matrix of C_(ij)(2^(m) ^(i) , K_(i,j),K_(i,j), d_(ij)) is given by the equation: ${{\overset{\sim}{G}}^{({i,j})} = \begin{pmatrix} G^{({i,0})} \\ G^{({i,1})} \\ \vdots \\ G^{({i,j})} \end{pmatrix}},$ wherein G^((i,j)) is a k_(i,j)×2^(m) ^(i) matrix, K_(i,j)=Σ_(s=0) ^(j)k_(i,s), wherein a precoding matrix of G^((i,j)) is defined by ${W^{({i,j})} = {G^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes i}},$ wherein a precoding matrix of {tilde over (G)}^((i,j)) is defined by ${{\overset{\sim}{W}}^{({i,j})} = {{\overset{\sim}{G}}^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes i}},$ and wherein an index l_(i,p) of a column, where a p-th row of the matrix {tilde over (W)}^((i,τ) ^(i) ⁻¹⁾ starts, is defined by the equation ${l_{i,p} = {\min \mspace{20mu} \underset{{\overset{\sim}{W}}_{p,t}^{({i,{\tau_{i} - 1}})} = 1}{0 \leq t < 2^{i}}\mspace{20mu} t}},$ 0≤p<2^(m) ^(i) ; and construct the precoding matrix

as a block matrix, wherein the blocks of the precoding matrix

consist of selected rows of the matrices {tilde over (W)}^((i,j)).
 3. The encoding apparatus of claim 2, wherein the plurality of nested linear block codes C_(ij)(2^(m) ^(i) ,K_(i,j),d_(ij)) are extended Bose-Chaudhuri-Hocquenghem (e-BCH) codes.
 4. The encoding apparatus of claim 2, wherein the program further includes instructions to construct a precoding matrix

of the code C(n, k, d) according to: ${\overset{\sim}{} = \begin{pmatrix} {\overset{\sim}{W}}^{({1,r_{1}})} & 0 & 0 & \ldots & 0 \\ 0 & {\overset{\sim}{W}}^{({2,r_{2}})} & 0 & \ldots & 0 \\ 0 & 0 & {\overset{\sim}{W}}^{({3,r_{3}})} & \ldots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \ldots & {\overset{\sim}{W}}^{({s,r_{s}})} \\ W^{({1,{r_{1} + 1}})} & {\hat{W}}^{({2,1})} & {\hat{W}}^{({3,1})} & \ldots & {\hat{W}}^{({s,1})} \\ 0 & W^{({2,{r_{2} + 1}})} & {\hat{W}}^{({3,2})} & \ldots & {\hat{W}}^{({s,2})} \\ \vdots & \vdots & \vdots & \ddots & \vdots \end{pmatrix}},$ wherein r_(i)=max_(j:dj≥d) j is an index of a largest e-BCH code of length 2^(m) ^(i) having a minimum distance of at least d, and wherein Ŵ^((i,j)) is a matrix defined on the basis of the matrix {tilde over (W)}.
 5. The encoding apparatus of claim 2, wherein the program further includes instructions to construct the matrix Ŵ^((i,j)) using rows of the matrix {tilde over (W)}^((i,τ) ^(j) ⁾ having the smallest value of P_(m) _(i) _(,I) _(i,p) , wherein P_(m,i) is an error probability in a bit subchannel W_(m) ^((i))(y₀ ² ^(m) ⁻¹,u₀ ^(i−1)|u_(i)), and wherein y₀ ² ^(m) ⁻¹=y₀ . . . y₂ _(m) ⁻¹ denotes 2^(m)−1 noisy symbols of the codeword c after a transmission over a communication channel.
 6. The encoding apparatus of claim 2, wherein the program further includes instructions to arrange the rows of the matrix W^((i,r) ^(i) ⁺¹⁾ or Ŵ^((j,i)) in an ascending order of the values l_(i,p) and l_(j,p), respectively.
 7. The encoding apparatus of claim 2, wherein the program further includes instructions to construct the matrix

based on k rows of the matrix

with the smallest values of l_(i,p).
 8. The encoding apparatus of claim 1, wherein the program further includes instructions to: construct a first plurality of t rows of the matrix

such that the last non-zero elements in the first plurality of t rows are located in distinct positions j, j≥j₀ for some integer j₀; construct elements of the first plurality of t rows located in columns having an index z<j using a pseudorandom number generator; and construct a second plurality of n−k−t rows of matrix

as distinct weight-one rows.
 9. The encoding apparatus of claim 8, wherein the pseudorandom number generator is a linear feedback shift register.
 10. A method, comprising: encoding data x of dimension k into a codeword c of length n using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, on the basis of the equation: c=uA, wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d), and u_(t)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i∈F, wherein

is a constraint matrix given by a solution of the equation:

^(T)=0, wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as: ${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$ and wherein ${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$ and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.
 11. The method of claim 10, further comprising: constructing the code C(n, k, d) on the basis of a plurality of nested linear block codes C_(ij)(2^(m) ^(i) ,K_(i,j),d_(ij)),K_(i,j+1)>K_(i,j),0≤j<τ_(i), wherein τ_(i) is a positive integer, wherein a generator matrix of C_(ij)(2^(m) ^(i) ,K_(i,j), d_(ij)) is given by the equation: ${{\overset{\sim}{G}}^{({i,j})} = \begin{pmatrix} G^{({i,0})} \\ G^{({i,1})} \\ \vdots \\ G^{({i,j})} \end{pmatrix}},$ wherein G^((i,j)) is a k_(i,j)×2^(m) ^(i) matrix, K_(i,j)=Σ_(s=0) ^(j)k_(i,s), wherein a precoding matrix of G^((i,j)) is defined by ${W^{({i,j})} = {G^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes i}},$ wherein a precoding matrix of {tilde over (G)}^((i,j)) is defined by ${{\overset{\sim}{W}}^{({i,j})} = {{\overset{\sim}{G}}^{({i,j})}\begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}}^{\otimes i}},$ wherein an index l_(i,p) of a column, where a p-th row of the matrix {tilde over (W)}^((i,τ) ^(i) ⁻¹⁾ starts, is defined by the equation ${l_{i,p} = {\min \mspace{14mu} \underset{{\overset{\sim}{W}}_{p,t}^{({i,{\tau_{i} - 1}})} = 1}{0 \leq t < 2^{i}}\mspace{25mu} t}},{{0 \leq p < 2^{m_{i}}};}$ and construct the precoding matrix

as a block matrix, wherein the blocks of the precoding matrix

consist of selected rows of the matrices {tilde over (W)}^((i,j)).
 12. The method of claim 11, wherein the plurality of nested linear block codes C_(ij) (2^(m) ^(i) , K_(i,j), d_(ij)) are extended Bose-Chaudhuri-Hocquenghem (e-BCH) codes.
 13. The method of claim 11, further comprising: constructing a precoding matrix

of the code C(n, k, d) according to: ${\overset{\sim}{} = \begin{pmatrix} {\overset{\sim}{W}}^{({1,r_{1}})} & 0 & 0 & \ldots & 0 \\ 0 & {\overset{\sim}{W}}^{({2,r_{2}})} & 0 & \ldots & 0 \\ 0 & 0 & {\overset{\sim}{W}}^{({3,r_{3}})} & \ldots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \ldots & {\overset{\sim}{W}}^{({s,r_{s}})} \\ W^{({1,{r_{1} + 1}})} & {\hat{W}}^{({2,1})} & {\hat{W}}^{({3,1})} & \ldots & {\hat{W}}^{({s,1})} \\ 0 & W^{({2,{r_{2} + 1}})} & {\hat{W}}^{({3,2})} & \ldots & {\hat{W}}^{({s,2})} \\ \vdots & \vdots & \vdots & \ddots & \vdots \end{pmatrix}},$ wherein r_(i)=max_(j:d) _(ij) _(≥d k)j is an index of a largest e-BCH code of length 2^(m) ^(i) having a minimum distance of at least d, and wherein {tilde over (W)}^((i,j)) is a matrix defined on the basis of the matrix {tilde over (W)}.
 14. The method of claim 11, further comprising: constructing the matrix {tilde over (W)}^((i,j)) using rows of the matrix {tilde over (W)}^((i,τ) ^(j) ⁾ having the smallest value of P_(m) _(i) _(,l) _(i,p) , wherein P_(m), is an error probability in a bit subchannel W_(m) ^((i))(y₀ ² ^(m) ⁻¹,u₀ ^(i−1)|u_(i)), and wherein y₀ ² ^(m) ⁻¹=y₀ . . . y₂ _(m-1) denotes 2^(m)−1 noisy symbols of the codeword c after a transmission over a communication channel.
 15. The method of claim 10, further comprising: constructing a first plurality of t rows of the matrix

such that the last non-zero elements in the first plurality of t rows are located in distinct positions j, j≥j₀ for some integer j₀; constructing elements of the first plurality oft rows located in columns having an index z<j using a pseudorandom number generator; and constructing a second plurality of n−k−t rows of matrix

as distinct weight-one rows.
 16. A decoding apparatus a processor; and a non-transitory computer-readable storage medium storing a program for decoding a codeword c of length n, the program to be executed by the processor, the program including instructions to: decode the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, wherein: c=uA, wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, wherein x is data of dimension k, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d) and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i∈F, wherein V is a constraint matrix given by a solution of the equation:

^(T)=0, wherein ϕ_(i) is an index of a row of the matrix V, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as: ${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$ wherein ${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$ and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself.
 17. The decoding apparatus of claim 16, wherein the instructions to decode the codeword include instructions to decode the codeword c by generalization of a successive cancellation algorithm.
 18. The decoding apparatus of claim 17, wherein the program further includes instructions to compute u according to: û _(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s) û ₂, if i∈F and û _(i) =arg max_(u) _(i) W _(μ) _(i) ^((imod2) ^(μ) ^(i))(y _(t) _(i) ² ^(μ) ^(i+t) ^(i) ⁻¹ ,û _(t) _(i) ^(i−1) |u _(i)), if i∈F, wherein ϕ_(i) is an index of a row of the matrix V, which has a last non-zero element in column i, and wherein y₀ ^(n-1)=y₀ . . . y_(n-1) denotes n noisy symbols of the codeword c after a transmission over a communication channel 110 to the decoding apparatus, μ_(i)=└log₂ (2^(┌log) ² ^(n┐)−i)┘, and t_(i)=2^(┌log) ² ^(n┐)−2^(μ) ^(i) ⁺¹.
 19. The decoding apparatus of claim 18, wherein the program further includes instructions to compute û_(i) ₁ before û_(i) ₂ , if μ_(i) ₁ =μ_(i) ₂ and i₁<i₂, and to compute û_(s):

_(ϕ) _(i) _(,s)≠0, s<i, before û_(i), if i∈F.
 20. A method, comprising: decoding for decoding a codeword c of length n using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2^(m) ¹ + . . . +2^(m) ^(s) , wherein m_(h), h=1, . . . , s, is an integer number, wherein: c=uA, wherein u_(i)=x_(j) _(i) , 0≤j_(i)<k−1, wherein x is data of dimension k, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d) and u_(i)=Σ_(s=0) ^(i−1)

_(ϕ) _(i) _(,s)u_(s), if i∈F, wherein V is a constraint matrix given by a solution of the equation:

^(T)=0, wherein ϕ_(i) is an index of a row of the matrix

, which has a last non-zero element in column i, wherein

is a precoding matrix, and wherein A is defined as: ${A = \begin{pmatrix} A_{m_{1}} & 0 & \ldots & 0 \\ 0 & A_{m_{2}} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_{m_{s}} \end{pmatrix}},$ wherein ${A_{m_{h}} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}^{\otimes m_{h}}},$ and wherein Q^(⊗m) denotes the m-times Kronecker product of a matrix Q with itself. 